package com.marry.rpc;

import com.marry.rpc.bean.Product;

/**
 * @author ml
 * @create 2017-11-21--14:14
 */
public class ProductService implements IProductService {
    @Override
    public Product getById(int id) {

        Product product=new Product();
        product.setPrice(12000.0);
        product.setName("MacBook Pro");
        product.setId(100L);



        return product;
    }
}
